C# extract all of a property from a list of objcets

79

C# extract all of a property from a list of objcets -

List<string> properties = objectList.Select(o => o.StringProperty).ToList();

Comments

Submit
0 Comments